package qlsl.androiddesign.activity.subactivity;

import qlsl.androiddesign.activity.baseactivity.BaseActivity;
import qlsl.androiddesign.view.baseview.FunctionView;
import qlsl.androiddesign.view.subview.activityview.SearchView;
import android.os.Bundle;

public class SearchActivity extends BaseActivity {

	private SearchView functionView;

	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		functionView = new SearchView(this);
	}

	public FunctionView<?> getFunctionView() {
		return functionView;
	}

	public void onNetWorkSucceed(String method, Object values) {
		functionView.showData(values);
		/*if (method.equals("searchShoppingName")) {
			

		}else if(method.equals("searchShoppingName2")) {
			
		}*/
	}

	@Override
	public void onNetWorkFaild(String method, Object values) {
		if (method.equals("searchShoppingName")) {

		}else if(method.equals("searchShoppingName2")) {
			
		}
	}

}
